using System.Collections.Generic;

namespace Pronghorn.Core
{
	public class ProngHornSkinContext : IProngHornSkinContext
	{
		private IList<IProngHornArea> _areas = new List<IProngHornArea>();
		private IList<IRenderable> _metaTags = new List<IRenderable>();
		private string _pageTitle = string.Empty;
		private IList<string> _scripts = new List<string>();
		private IList<string> _styleSheets = new List<string>();

		public IList<IProngHornArea> Areas
		{
			get { return _areas; }
			set { _areas = value; }
		}

		public IDataParser Data
		{
			get; set;
		}

		public string PageTitle
		{
			get
			{
			    return _pageTitle;
			}
			set { _pageTitle = value; }
		}

		public IList<string> Scripts
		{
			get { return _scripts; }
			set { _scripts = value; }
		}

		public IList<string> StyleSheets
		{
			get { return _styleSheets; }
			set { _styleSheets = value; }
		}

		public void AddMetaTag(MetaTag metaTag)
		{
			_metaTags.Add(metaTag);
		}

		public IList<IRenderable> GetMetaTags()
		{
			return _metaTags;
		}
	}
}